.user-profile-page {
    min-height: 100vh;
    background-color: #F5F5F5;
    padding: 0 32rpx 120rpx;
    box-sizing: border-box;
}

.user-info-section {
    background-color: #FFFFFF;
    border-radius: 24rpx;
    padding: 40rpx;
    margin-top: 24rpx;
    box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-avatar-container {
    width: 160rpx;
    height: 160rpx;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 24rpx;
    border: 4rpx solid #E0E0E0;
}

.user-avatar {
    width: 100%;
    height: 100%;
}

.user-details {
    text-align: center;
}

.user-name {
    font-size: 36rpx;
    font-weight: 600;
    color: #333333;
    margin-bottom: 16rpx;
}

.user-gender {
    font-size: 28rpx;
}

.gender-icon {
    padding: 4rpx 12rpx;
    border-radius: 8rpx;
}

.male {
    color: #4A90E2;
    background-color: rgba(74, 144, 226, 0.1);
}

.female {
    color: #FF6B9D;
    background-color: rgba(255, 107, 157, 0.1);
}

.unknown {
    color: #999999;
    background-color: rgba(153, 153, 153, 0.1);
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin: 24rpx 0;
    gap: 24rpx;
}

.action-btn {
    flex: 1;
    border-radius: 12rpx;
    font-size: 28rpx;
    padding: 20rpx 0;
    border: none;
}

.add-friend-btn {
    background-color: #89CFF0;
    color: white;
}

.chat-btn {
    background-color: #FFD1DC;
    color: white;
}

.user-posts-section {
    background-color: #FFFFFF;
    border-radius: 24rpx;
    padding: 32rpx;
    box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 32rpx;
    font-weight: 600;
    color: #333333;
    margin-bottom: 24rpx;
    padding-bottom: 16rpx;
    border-bottom: 2rpx solid #F0F0F0;
}

.post-card {
    padding: 24rpx;
    border-bottom: 2rpx solid #F0F0F0;
}

.post-card:last-child {
    border-bottom: none;
}

.post-title {
    font-size: 28rpx;
    color: #333333;
    margin-bottom: 12rpx;
}

.post-time {
    font-size: 24rpx;
    color: #999999;
}

.no-posts {
    text-align: center;
    padding: 40rpx 0;
    color: #999999;
    font-size: 28rpx;
}